.class Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;
.super Lcom/glympse/android/glympse/Glympse$GlympseView;
.source "ViewDebug.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympse/ViewDebug;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "MyGlympseView"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/glympse/android/glympse/ViewDebug;


# direct methods
.method constructor <init>(Lcom/glympse/android/glympse/ViewDebug;)V
    .locals 0
    .parameter

    .prologue
    .line 40
    iput-object p1, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    invoke-direct {p0}, Lcom/glympse/android/glympse/Glympse$GlympseView;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;)Lcom/glympse/android/glympse/ViewDebug;
    .locals 1
    .parameter

    .prologue
    .line 40
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    return-object v0
.end method


# virtual methods
.method public CreateView()V
    .locals 6

    .prologue
    .line 46
    iget-object v2, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    invoke-virtual {v2}, Lcom/glympse/android/glympse/ViewDebug;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v2

    const v3, 0x7f030004

    iget-object v4, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    const/4 v5, 0x1

    invoke-virtual {v2, v3, v4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v1

    .line 49
    .local v1, oView:Landroid/view/View;
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    iget-object v2, v2, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-boolean v2, v2, Lcom/glympse/platform/Config;->m_fTestConfigThisRun:Z

    if-eqz v2, :cond_0

    const v2, 0x7f0c0007

    :goto_0
    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 50
    .local v0, oTextTitle:Landroid/widget/TextView;
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v3

    invoke-interface {v3}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, " (active)"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 53
    const v2, 0x7f0c0008

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/CheckBox;

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-boolean v3, v3, Lcom/glympse/platform/Config;->m_fTestConfigPersist:Z

    invoke-virtual {v2, v3}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 54
    const v2, 0x7f0c0009

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/EditText;

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v3, v3, Lcom/glympse/platform/Config;->m_strTestDomain:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 55
    const v2, 0x7f0c000a

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/EditText;

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget v3, v3, Lcom/glympse/platform/Config;->m_nTestHTTP:I

    invoke-static {v3}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 56
    const v2, 0x7f0c000b

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/EditText;

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget v3, v3, Lcom/glympse/platform/Config;->m_nTestHTTPS:I

    invoke-static {v3}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 57
    const v2, 0x7f0c000c

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/CheckBox;

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-boolean v3, v3, Lcom/glympse/platform/Config;->m_fTestSSL:Z

    invoke-virtual {v2, v3}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 58
    const v2, 0x7f0c000d

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/EditText;

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v3, v3, Lcom/glympse/platform/Config;->m_strTestUserId:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 59
    const v2, 0x7f0c000e

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/EditText;

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v3, v3, Lcom/glympse/platform/Config;->m_strTestPassword:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 60
    const v2, 0x7f0c0011

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/EditText;

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v3, v3, Lcom/glympse/platform/Config;->m_strGlympseUserId:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 61
    const v2, 0x7f0c0012

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/EditText;

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v3, v3, Lcom/glympse/platform/Config;->m_strGlympsePassword:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 62
    const v2, 0x7f0c0014

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    invoke-virtual {v3}, Lcom/glympse/platform/Platform;->GetBrowserAgent()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 65
    const/high16 v2, 0x4000

    invoke-virtual {p0, v2}, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->DoUpdate(I)V

    .line 68
    const v2, 0x7f0c000f

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    new-instance v3, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView$1;

    invoke-direct {v3, p0}, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView$1;-><init>(Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;)V

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 81
    const v2, 0x7f0c0013

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    new-instance v3, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView$2;

    invoke-direct {v3, p0, v1}, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView$2;-><init>(Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;Landroid/view/View;)V

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 92
    const v2, 0x7f0c001c

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    new-instance v3, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView$3;

    invoke-direct {v3, p0}, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView$3;-><init>(Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;)V

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 99
    return-void

    .line 49
    .end local v0           #oTextTitle:Landroid/widget/TextView;
    :cond_0
    const v2, 0x7f0c0010

    goto/16 :goto_0
.end method

.method public DestroyView()V
    .locals 3

    .prologue
    .line 105
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v1, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    const v2, 0x7f0c0008

    invoke-virtual {v0, v2}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    iput-boolean v0, v1, Lcom/glympse/platform/Config;->m_fTestConfigPersist:Z

    .line 106
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v1, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    const v2, 0x7f0c0009

    invoke-virtual {v0, v2}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/glympse/platform/Config;->m_strTestDomain:Ljava/lang/String;

    .line 107
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v1, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    const v2, 0x7f0c000a

    invoke-virtual {v0, v2}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->ParseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, v1, Lcom/glympse/platform/Config;->m_nTestHTTP:I

    .line 108
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v1, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    const v2, 0x7f0c000b

    invoke-virtual {v0, v2}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->ParseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, v1, Lcom/glympse/platform/Config;->m_nTestHTTPS:I

    .line 109
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v1, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    const v2, 0x7f0c000c

    invoke-virtual {v0, v2}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    iput-boolean v0, v1, Lcom/glympse/platform/Config;->m_fTestSSL:Z

    .line 110
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v1, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    const v2, 0x7f0c000d

    invoke-virtual {v0, v2}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/glympse/platform/Config;->m_strTestUserId:Ljava/lang/String;

    .line 111
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v1, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    const v2, 0x7f0c000e

    invoke-virtual {v0, v2}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/glympse/platform/Config;->m_strTestPassword:Ljava/lang/String;

    .line 112
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v1, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    const v2, 0x7f0c0011

    invoke-virtual {v0, v2}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/glympse/platform/Config;->m_strGlympseUserId:Ljava/lang/String;

    .line 113
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v1, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    const v2, 0x7f0c0012

    invoke-virtual {v0, v2}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/glympse/platform/Config;->m_strGlympsePassword:Ljava/lang/String;

    .line 114
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    invoke-virtual {v0}, Lcom/glympse/platform/Config;->Save()V

    .line 116
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    invoke-virtual {v0}, Lcom/glympse/android/glympse/ViewDebug;->removeAllViews()V

    .line 117
    return-void
.end method

.method public DoUpdate(I)V
    .locals 21
    .parameter "nUpdateFlags"

    .prologue
    .line 123
    const v16, 0x40001200

    and-int v16, v16, p1

    if-nez v16, :cond_1

    .line 191
    .end local p0
    .end local p1
    :cond_0
    :goto_0
    return-void

    .line 132
    .restart local p0
    .restart local p1
    :cond_1
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    move-object/from16 v16, v0

    const v17, 0x7f0c0015

    invoke-virtual/range {v16 .. v17}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/EditText;

    .line 133
    .local v8, oPostRate:Landroid/widget/EditText;
    if-eqz v8, :cond_0

    .line 138
    invoke-static {}, Lcom/glympse/platform/common/CorrectedTime;->GetTime()J

    move-result-wide v4

    .line 141
    .local v4, lCurrent:J
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v16

    move-object/from16 v0, v16

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oServerPost:Lcom/glympse/platform/common/ServerPost;

    move-object/from16 v16, v0

    move-object/from16 v0, v16

    iget v0, v0, Lcom/glympse/platform/common/ServerPost;->m_nPostTimeInterval:I

    move/from16 v16, v0

    move/from16 v0, v16

    div-int/lit16 v0, v0, 0x3e8

    move/from16 v16, v0

    invoke-static/range {v16 .. v16}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v16

    move-object v0, v8

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 143
    const-string v12, ""

    .line 144
    .local v12, strCurDistance:Ljava/lang/String;
    const-string v13, ""

    .line 145
    .local v13, strMinDistance:Ljava/lang/String;
    const-string v11, ""

    .line 146
    .local v11, strAutoExpireTime:Ljava/lang/String;
    const-string v14, ""

    .line 147
    .local v14, strProximity:Ljava/lang/String;
    const-string v10, ""

    .line 148
    .local v10, strArrived:Ljava/lang/String;
    const-string v15, ""

    .line 151
    .local v15, strRings:Ljava/lang/String;
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v16

    move-object/from16 v0, v16

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oSentTickets:Lcom/glympse/platform/common/SentTicketList;

    move-object/from16 v16, v0

    move-object/from16 v0, v16

    iget-object v0, v0, Lcom/glympse/platform/common/SentTicketList;->m_listTickets:Lcom/glympse/platform/GVector$Tickets;

    move-object/from16 v16, v0

    invoke-virtual/range {v16 .. v16}, Lcom/glympse/platform/GVector$Tickets;->isEmpty()Z

    move-result v16

    if-nez v16, :cond_5

    .line 154
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v16

    move-object/from16 v0, v16

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oSentTickets:Lcom/glympse/platform/common/SentTicketList;

    move-object/from16 v16, v0

    move-object/from16 v0, v16

    iget-object v0, v0, Lcom/glympse/platform/common/SentTicketList;->m_listTickets:Lcom/glympse/platform/GVector$Tickets;

    move-object/from16 v16, v0

    const/16 v17, 0x0

    invoke-virtual/range {v16 .. v17}, Lcom/glympse/platform/GVector$Tickets;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Lcom/glympse/platform/common/Ticket;

    .line 157
    .local v9, oTicket:Lcom/glympse/platform/common/Ticket;
    if-eqz v9, :cond_5

    const-wide/16 v16, 0x0

    move-object v0, v9

    iget-wide v0, v0, Lcom/glympse/platform/common/Ticket;->m_lAutoExpireTime:J

    move-wide/from16 v18, v0

    cmp-long v16, v16, v18

    if-eqz v16, :cond_5

    .line 159
    const v16, 0x7f7fffff

    move-object v0, v9

    iget v0, v0, Lcom/glympse/platform/common/Ticket;->m_fltCurDistMeters:F

    move/from16 v17, v0

    cmpl-float v16, v16, v17

    if-eqz v16, :cond_2

    .line 161
    new-instance v16, Ljava/lang/StringBuilder;

    move-object v0, v9

    iget v0, v0, Lcom/glympse/platform/common/Ticket;->m_fltCurDistMeters:F

    move/from16 v17, v0

    move/from16 v0, v17

    float-to-int v0, v0

    move/from16 v17, v0

    invoke-static/range {v17 .. v17}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v17

    invoke-direct/range {v16 .. v17}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v17, " m"

    invoke-virtual/range {v16 .. v17}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v16

    invoke-virtual/range {v16 .. v16}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v12

    .line 163
    :cond_2
    const v16, 0x7f7fffff

    move-object v0, v9

    iget v0, v0, Lcom/glympse/platform/common/Ticket;->m_fltMinDistMeters:F

    move/from16 v17, v0

    cmpl-float v16, v16, v17

    if-eqz v16, :cond_3

    .line 165
    new-instance v16, Ljava/lang/StringBuilder;

    move-object v0, v9

    iget v0, v0, Lcom/glympse/platform/common/Ticket;->m_fltMinDistMeters:F

    move/from16 v17, v0

    move/from16 v0, v17

    float-to-int v0, v0

    move/from16 v17, v0

    invoke-static/range {v17 .. v17}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v17

    invoke-direct/range {v16 .. v17}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v17, " m"

    invoke-virtual/range {v16 .. v17}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v16

    invoke-virtual/range {v16 .. v16}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    .line 167
    :cond_3
    move-object v0, v9

    iget-wide v0, v0, Lcom/glympse/platform/common/Ticket;->m_lAutoExpireTime:J

    move-wide/from16 v16, v0

    const-wide v18, 0x7fffffffffffffffL

    cmp-long v16, v16, v18

    if-gez v16, :cond_4

    .line 169
    move-object v0, v9

    iget-wide v0, v0, Lcom/glympse/platform/common/Ticket;->m_lAutoExpireTime:J

    move-wide/from16 v16, v0

    invoke-static {}, Lcom/glympse/platform/common/CorrectedTime;->GetTime()J

    move-result-wide v18

    sub-long v16, v16, v18

    invoke-static/range {v16 .. v17}, Lcom/glympse/platform/common/Helpers;->DurationToStr(J)Ljava/lang/String;

    move-result-object v11

    .line 171
    :cond_4
    move-object v0, v9

    iget-boolean v0, v0, Lcom/glympse/platform/common/Ticket;->m_fProximitySatisfied:Z

    move/from16 v16, v0

    if-eqz v16, :cond_6

    const-string v16, "true"

    move-object/from16 v14, v16

    .line 172
    :goto_1
    move-object v0, v9

    iget-boolean v0, v0, Lcom/glympse/platform/common/Ticket;->m_fArrived:Z

    move/from16 v16, v0

    if-eqz v16, :cond_7

    const-string v16, "true"

    move-object/from16 v10, v16

    .line 174
    :goto_2
    const/4 v3, 0x0

    .local v3, i:I
    :goto_3
    move-object v0, v9

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_alProximityStartTimes:[J

    move-object/from16 v16, v0

    move-object/from16 v0, v16

    array-length v0, v0

    move/from16 v16, v0

    move v0, v3

    move/from16 v1, v16

    if-lt v0, v1, :cond_8

    .line 185
    .end local v3           #i:I
    .end local v9           #oTicket:Lcom/glympse/platform/common/Ticket;
    :cond_5
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    move-object/from16 v16, v0

    const v17, 0x7f0c0016

    invoke-virtual/range {v16 .. v17}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object p1

    .end local p1
    check-cast p1, Landroid/widget/EditText;

    move-object/from16 v0, p1

    move-object v1, v12

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 186
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    move-object/from16 v16, v0

    const v17, 0x7f0c0017

    invoke-virtual/range {v16 .. v17}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/EditText;

    move-object/from16 v0, p1

    move-object v1, v13

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 187
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    move-object/from16 v16, v0

    const v17, 0x7f0c0018

    invoke-virtual/range {v16 .. v17}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/EditText;

    move-object/from16 v0, p1

    move-object v1, v11

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 188
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    move-object/from16 v16, v0

    const v17, 0x7f0c0019

    invoke-virtual/range {v16 .. v17}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/EditText;

    move-object/from16 v0, p1

    move-object v1, v14

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 189
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    move-object/from16 v16, v0

    const v17, 0x7f0c001a

    invoke-virtual/range {v16 .. v17}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/EditText;

    move-object/from16 v0, p1

    move-object v1, v10

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 190
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewDebug;

    move-object/from16 v16, v0

    const v17, 0x7f0c001b

    invoke-virtual/range {v16 .. v17}, Lcom/glympse/android/glympse/ViewDebug;->findViewById(I)Landroid/view/View;

    move-result-object p0

    .end local p0
    check-cast p0, Landroid/widget/EditText;

    move-object/from16 v0, p0

    move-object v1, v15

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    .line 171
    .restart local v9       #oTicket:Lcom/glympse/platform/common/Ticket;
    .restart local p0
    .restart local p1
    :cond_6
    const-string v16, "false"

    move-object/from16 v14, v16

    goto/16 :goto_1

    .line 172
    :cond_7
    const-string v16, "false"

    move-object/from16 v10, v16

    goto/16 :goto_2

    .line 176
    .restart local v3       #i:I
    :cond_8
    const v16, 0x48927c00

    move v0, v3

    int-to-float v0, v0

    move/from16 v17, v0

    const v18, 0x48927c00

    move-object v0, v9

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_alProximityStartTimes:[J

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    array-length v0, v0

    move/from16 v19, v0

    const/16 v20, 0x1

    sub-int v19, v19, v20

    move/from16 v0, v19

    int-to-float v0, v0

    move/from16 v19, v0

    div-float v18, v18, v19

    mul-float v17, v17, v18

    sub-float v16, v16, v17

    move/from16 v0, v16

    float-to-long v0, v0

    move-wide v6, v0

    .line 177
    .local v6, lTimeRequirement:J
    const/high16 v16, 0x447a

    move v0, v3

    int-to-float v0, v0

    move/from16 v17, v0

    const v18, 0x446d8000

    move-object v0, v9

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_alProximityStartTimes:[J

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    array-length v0, v0

    move/from16 v19, v0

    const/16 v20, 0x1

    sub-int v19, v19, v20

    move/from16 v0, v19

    int-to-float v0, v0

    move/from16 v19, v0

    div-float v18, v18, v19

    mul-float v17, v17, v18

    sub-float v2, v16, v17

    .line 179
    .local v2, fltDistRequirement:F
    new-instance v16, Ljava/lang/StringBuilder;

    invoke-static {v15}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v17

    invoke-direct/range {v16 .. v17}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-static {v15}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v17

    if-eqz v17, :cond_9

    const-string v17, ""

    :goto_4
    invoke-virtual/range {v16 .. v17}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v16

    move-object/from16 v0, v16

    move v1, v3

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v16

    const-string v17, ","

    invoke-virtual/range {v16 .. v17}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v16

    const-wide/16 v17, 0x3e8

    div-long v17, v6, v17

    invoke-virtual/range {v16 .. v18}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v16

    const-string v17, "s,"

    invoke-virtual/range {v16 .. v17}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v16

    move v0, v2

    float-to-int v0, v0

    move/from16 v17, v0

    invoke-virtual/range {v16 .. v17}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v16

    const-string v17, "m: "

    invoke-virtual/range {v16 .. v17}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v16

    .line 180
    const-wide/16 v17, 0x0

    move-object v0, v9

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_alProximityStartTimes:[J

    move-object/from16 v19, v0

    aget-wide v19, v19, v3

    cmp-long v17, v17, v19

    if-nez v17, :cond_a

    const-wide/16 v17, 0x0

    :goto_5
    invoke-virtual/range {v16 .. v18}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v16

    const-string v17, "s"

    invoke-virtual/range {v16 .. v17}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v16

    .line 179
    invoke-virtual/range {v16 .. v16}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v15

    .line 174
    add-int/lit8 v3, v3, 0x1

    goto/16 :goto_3

    .line 179
    :cond_9
    const-string v17, "\n"

    goto :goto_4

    .line 180
    :cond_a
    move-object v0, v9

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_alProximityStartTimes:[J

    move-object/from16 v17, v0

    aget-wide v17, v17, v3

    sub-long v17, v4, v17

    const-wide/16 v19, 0x3e8

    div-long v17, v17, v19

    goto :goto_5
.end method
